<html>
<head><meta charset="utf-8"><title>catch_unwind is a problem · project leads (public) · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/index.html">project leads (public)</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html">catch_unwind is a problem</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="184142646"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184142646" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184142646">(Dec 24 2019 at 00:45)</a>:</h4>
<p><span class="user-mention" data-user-id="228912">@James Munns</span> (Embedded), <span class="user-mention" data-user-id="239881">@Josh Triplett</span> (FFI), and <span class="user-mention" data-user-id="116015">@Alex Crichton</span> (WASM) -- we're trying to resolve in <a href="https://github.com/rust-lang/rust/issues/64224" target="_blank" title="https://github.com/rust-lang/rust/issues/64224">#64224</a> whether it's worth trying to bring the code size of catch_unwind down even further. It sounds like at least Servo has no data showing that the performance improvement such a change could bring is worth it, but I'm wondering if any of you are aware if your domains would benefit from help here.</p>
<p>If you have thoughts here I'd appreciate a comment on that issue or I'm happy to discuss here as well!</p>



<a name="184142655"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184142655" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184142655">(Dec 24 2019 at 00:45)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116009">@nikomatsakis</span> as well, I'm not sure who is leading the FFI unwinding effort but they might be interested in this as well</p>



<a name="184144413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184144413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184144413">(Dec 24 2019 at 01:29)</a>:</h4>
<p>I will leave a comment when back from break</p>



<a name="184177764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184177764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184177764">(Dec 24 2019 at 16:26)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> I believe <span class="user-mention" data-user-id="120076">@Kyle Strand</span> is leading ffi unwind with niko.</p>



<a name="184182336"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184182336" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BatmanAoD (Kyle Strand) <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184182336">(Dec 24 2019 at 18:08)</a>:</h4>
<p>Also <span class="user-mention" data-user-id="237472">@acfoltzer</span></p>



<a name="184289384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184289384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184289384">(Dec 26 2019 at 23:51)</a>:</h4>
<p>As a bit of a follow up we've since ended up investing some time with <span class="user-mention" data-user-id="143274">@Amanieu</span> and should have reached parity with C++.</p>



<a name="184499205"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184499205" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184499205">(Dec 30 2019 at 20:41)</a>:</h4>
<p>Where can I learn more about the follow-up work that was done?</p>



<a name="184501509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184501509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184501509">(Dec 30 2019 at 21:22)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> <a href="https://github.com/rust-lang/rust/pull/67502" target="_blank" title="https://github.com/rust-lang/rust/pull/67502">https://github.com/rust-lang/rust/pull/67502</a></p>



<a name="184913554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217588-project%20leads%20%28public%29/topic/catch_unwind%20is%20a%20problem/near/184913554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/217588-project-leads-(public)/topic/catch_unwind.20is.20a.20problem.html#184913554">(Jan 06 2020 at 15:06)</a>:</h4>
<p>To follow up from this I don't think catch_unwind affects wasm at all right now since wasm is always panic=abort</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>